CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOW (UNAUDITED) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2016
Apr. 30, 2015
Cash flow from operating activities:    
Net loss $ (8,803) $ (6,558)
Adjustments to reconcile net loss to cash flow from operating activities:    
Depreciation and amortization 6,428 10,340
Bad debt expense 1,340 (27)
Amortization of discount and deferred financing costs 1,020 1,087
Gain on extinguishment of debt   (4,236)
Deferred income taxes 365 (110)
Share-based compensation 1,247 1,662
Equity in earnings of affiliates (1,269) (629)
Dividends received from affiliates 1,091 1,363
Restructuring activities   (178)
Gain from disposal of property and equipment (145) (740)
Changes in current assets and liabilities:    
Increase in customer receivables (159) (7,672)
(Increase) decrease in costs and estimated earnings in excess of billings on uncompleted contracts (6,863) 7,766
Decrease in inventories 1,121 1,522
Decrease in other current assets 221 3,765
(Decrease) increase in accounts payable and accrued expenses (2,695) 2,849
Increase in billings in excess of costs and estimated earnings on uncompleted contracts 1,971 4,515
Other, net (447) (1,482)
Cash (used in) provided by operating activities (5,577) 13,237
Cash flow from investing activities:    
Additions to property and equipment (3,320) (2,187)
Proceeds from disposal of property and equipment 946 1,315
Release of cash from restricted accounts 1,944 185
Cash used in investing activities (430) (687)
Cash flow from financing activities:    
Repayments under revolving loan facilities   (22,131)
Proceeds from 8.0% convertible notes   49,950
Payment of debt issuance costs (3) (5,063)
Principal payments under capital lease obligation (26) (54)
Cash (used in) provided by financing activities (29) 22,702
Effects of exchange rate changes on cash 316 (303)
Net (decrease) increase in cash and cash equivalents (5,720) 34,949
Cash and cash equivalents at beginning of period 65,569 21,661
Cash and cash equivalents at end of period $ 59,849 $ 56,610