Annual report pursuant to Section 13 and 15(d)

Notes Payable

Notes Payable
12 Months Ended
Dec. 31, 2016
Debt Disclosure [Abstract]  
Notes Payable
7. Notes Payable
Loan and Security Agreement
In September 2012, the Company entered into the Loan and Security Agreement with MidCap Financial, which provided for the borrowing of up to $15 million. The Loan and Security Agreement originally provided for the loan to be issued in three tranches: the first tranche of $5 million was issued in September 2012; the second tranche of $5 million was issued in December 2012; and, prior to the First Amendment described below, the final tranche of $5 million was available to be drawn at the option of the Company by no later than June 2013. The loan had a monthly variable interest rate, reset each month, if applicable, as determined by adding to 600 basis points the greater of: (a) one month LIBOR or (b) 3%. Interest on amounts outstanding were payable monthly in arrears. An interest only period to December 31, 2013 was followed by straight‑line principal payments over thirty‑six months until December 31, 2016. Under the terms of the Loan and Security Agreement, at the time of final payment, the Company was required to pay an exit fee of 3% of the drawn amount. If the Company chose to prepay the loan, or if the loan was determined to be in default and early repayment was required, the Company would also have had to pay a fee ranging from 1% to 2% of the outstanding loan balance at the date of default. Pursuant to the Loan and Security Agreement, the Company also provided a first priority security interest in all existing and after‑acquired assets, excluding intellectual property.
In June 2013, the Company entered into an amendment to the Loan and Security Agreement (“the First Amendment”) to extend the draw down date for the final tranche of $5.0 million from June 2013 to May 2014, and to require the Company to draw that amount, which it did in May 2014. In connection with the First Amendment, the Company issued a warrant to purchase up to 6,193 shares of the Company’s common stock with an exercise price of $96.88 per share. The warrant expires on the tenth anniversary of its issuance date and had an initial fair value of $130,000, which represents financing fees, was included in Other assets and was being amortized as non‑cash Interest expense over the remaining term of the Loan and Security Agreement using the effective interest method. The Company estimated the fair value of this warrant using the Black‑Scholes option‑pricing model, based on the inputs for the estimated fair value of the underlying common stock at the valuation measurement date, the contractual term of the warrant, risk‑free interest rates, expected dividend rates and expected volatility of the price of the underlying common stock.
The Company recorded interest expense related to the borrowings of $842,000 for the year ended December 31, 2015. Included in Interest expense for this period was interest on principal, amortization of the debt issuance costs, accretion of debt discount, and the accretion of the final exit fee. For the year ended December 31, 2015, the effective interest rate on the amounts borrowed under the Loan and Security Agreement, including the accretion of the debt discount and the accretion of the final payment, was 10%.
In August 2015, the Company entered into Amendment No. 2 to the Loan and Security Agreement, whereby the Company agreed to maintain, in a separate account with a financial institution (held in the Company’s name), an amount equal to the aggregate of the remaining future principal, interest and exit fee due under the Loan and Security Agreement, equating to $8.3 million as of the date of Amendment No. 2. Under the terms of the Loan and Security Agreement, as amended, MidCap Financial was permitted to draw payments from this account as they become due, and upon such draws, there would be a corresponding reduction in the amount owed to MidCap Financial by the Company. MidCap Financial had exclusive control to withdraw funds from that account at any time. The account was to be maintained either until the debt has been repaid in full, or until MidCap Financial determined that the Company satisfied certain capital requirements related to the Company’s future operating plans.
In November 2015, the Company elected to exercise its prepayment right to repay the loan in full and paid MidCap Financial $6.6 million in full settlement of the remaining outstanding principal balance, accrued interest, the exit fee and a reduced prepayment fee of 1%.  The prepayment resulted in a gain on extinguishment of debt of $61,000 in the fourth quarter of 2015, which is included in Other expense, net in the accompanying Consolidated Statements of Operations and Comprehensive Loss.
Notes Payable to Vendors

On June 30, 2016, the Company issued promissory notes in an aggregate principal amount of approximately $1,212,000 to certain claimants in accordance with the Plan.  The notes are unsecured, bear interest at 10% per annum and are due and payable in full, including principal and accrued interest on June 30, 2019.  As of December 31, 2016, the Company has accrued $61,000 in interest related to these promissory notes.

December Term Loan

On December 21, 2016, the Company entered into a Credit and Security Agreement (the “December Term Loan”) with Black Horse Capital Master Fund Ltd., as administrative agent and lender (“BHCMF” or “Agent”), Black Horse Capital LP, as a lender (“BHC”), Cheval Holdings, Ltd., as a lender (“Cheval”) and Nomis Bay LTD, as a lender (“Nomis” and, together with BHCMF, BHC and Cheval, the “Lenders”). The December Term Loan provides for a credit facility in the original principal amount of $3,315,000, provides an original discount equal to $265,000 (the “Upfront Fee”) and requires the payment by the Company to the Lenders of a commitment fee equal to $153,000 (the “Commitment Fee”). In accordance with the terms of the December Term Loan, the Company will use the proceeds for general working capital, the payment of certain fees and expenses owed to the Agent and the Lenders and other costs incurred in the ordinary course of business.
The December Term Loan bears interest at 9.00% and is subject to certain customary representations, warranties and covenants.
The outstanding principal balance of the December Term Loan, plus accrued interest and fees, are due on the earlier of acceleration after an event of default under the agreement, or October 31, 2017.  However, to the extent the Company raises capital through any SEC-registered stock offering, 50% of such offering’s proceeds (net of costs) must be used to pay down the December Term Loan.
Upon the occurrence of any event of default set forth in the agreement, the Agent has the option of terminating the agreement and declaring all of the Company’s obligations immediately payable. The occurrence of an event of default will cause the December Term Loan to bear interest at a rate per annum equal to 14.00%. 
The Company’s obligations under the December Term Loan are secured by a first priority interest in all of the Company’s real and personal property, subject only to certain carve outs and permitted liens, as set forth in the agreement.

The Company recorded the original principal amount of the loan reduced by the Upfront Fee and costs incurred in putting the loan in place for a net principal amount of $2,993,000. As of December 31, 2016 the Company has accrued interest expense of $23,000 in the accompanying Consolidated Statements of Operations and Comprehensive Loss, consisting of $8,000 interest and loan cost accretion of $15,000 and has recorded such against the principal balance resulting in a loan balance of $3,016,000 in the accompanying Consolidated Balance Sheets.