Quarterly report pursuant to Section 13 or 15(d)

Derivative Instruments (Details 1)

v3.7.0.1
Derivative Instruments (Details 1) - USD ($)
$ / shares in Units, $ in Thousands
6 Months Ended 12 Months Ended
Jun. 30, 2017
Dec. 31, 2016
Sep. 01, 2016
Jul. 20, 2016
Aug. 06, 2015
Forward Investments, LLC Convertible Feature [Member] | Factor One [Member]          
Derivative [Line Items]          
Principal amount $ 1,744 $ 3,210      
Conversion price per share $ 3.12 $ 3.12      
Risk free rate 1.89% 1.93%      
Volatility 148.00% 100.00%      
Life of conversion feature (in years) 4 years 6 months 5 years      
Forward Investments, LLC Convertible Feature [Member] | Factor Two [Member]          
Derivative [Line Items]          
Principal amount $ 543 $ 390      
Conversion price per share $ 3.12 $ 3.12      
Risk free rate 1.89% 1.93%      
Volatility 148.00% 100.00%      
Life of conversion feature (in years) 4 years 6 months 5 years      
Forward Investments, LLC Convertible Feature [Member] | Factor Three [Member]          
Derivative [Line Items]          
Principal amount $ 1,192 $ 1,025      
Conversion price per share $ 3.12 $ 3.12      
Risk free rate 1.14% 0.51%      
Volatility 141.00% 135.00%      
Life of conversion feature (in years) 0 years 3 months 19 days      
Forward Investments, LLC Convertible Feature [Member] | Factor Four [Member]          
Derivative [Line Items]          
Principal amount $ 5,021 $ 4,373      
Conversion price per share $ 3.12 $ 3.12      
Risk free rate 1.14% 0.85%      
Volatility 220.00% 120.00%      
Life of conversion feature (in years) 6 months 1 year      
August 6, 2015 Demand Promissory Note [Member]          
Derivative [Line Items]          
Principal amount   $ 1,198      
Conversion price per share   $ 5.00      
Conversion trigger price per share        
Risk free rate   0.44%      
Volatility   135.00%      
Life of conversion feature (in years)   1 month 6 days      
Dominion November 4, 2016 Exchange Agreement [Member]          
Derivative [Line Items]          
Principal amount $ 670 $ 605      
Conversion price per share $ 0.40 $ 0.40      
Conversion trigger price per share      
Risk free rate 1.14% 0.76%      
Volatility 213.00% 120.00%      
Life of conversion feature (in years) 4 months 6 days 9 months 18 days      
Dominion January 31, 2017 [Member]          
Derivative [Line Items]          
Principal amount $ 78        
Conversion price per share $ 0.40        
Conversion trigger price per share        
Risk free rate 1.14%        
Volatility 210.00%        
Life of conversion feature (in years) 7 months 6 days        
Smithline Senior Convertible Note Embedded Features [Member]          
Derivative [Line Items]          
Principal amount $ 149   $ 97 $ 55 $ 526
Conversion price per share $ 5.00        
Conversion trigger price per share        
Risk free rate 1.14%        
Volatility 213.00%        
Life of conversion feature (in years) 2 months 30 days        
JGB (Cayman) Waltham Ltd. [Member]          
Derivative [Line Items]          
Principal amount $ 4,451 $ 5,034      
Conversion price per share $ 0.16 $ 0.80      
Conversion trigger price per share $ 8.00      
Risk free rate 1.38% 1.31%      
Volatility 141.00% 100.00%      
Life of conversion feature (in years) 1 year 11 months 1 day 2 years 4 months 28 days      
JGB (Cayman) Waltham Ltd One [Member]          
Derivative [Line Items]          
Principal amount $ 503 $ 593      
Conversion price per share $ 0.16 $ 0.80      
Conversion trigger price per share $ 8.00      
Risk free rate 1.03% 0.62%      
Volatility 213.00% 130.00%      
Life of conversion feature (in years) 2 months 1 day 6 months 29 days      
JGB (Cayman) Concord Ltd. [Member]          
Derivative [Line Items]          
Principal amount $ 241 $ 3,749      
Conversion price per share $ 0.16 $ 0.80      
Conversion trigger price per share $ 8.00      
Risk free rate 1.38% 1.31%      
Volatility 141.00% 100.00%      
Life of conversion feature (in years) 1 year 11 months 1 day 2 years 4 months 28 days      
MEF I, L.P. Assignment and Assumption Agreement [Member]          
Derivative [Line Items]          
Principal amount $ 558        
Conversion price per share $ 0.12        
Conversion trigger price per share        
Risk free rate 1.38%        
Volatility 141.00%        
Life of conversion feature (in years) 1 year 11 months 1 day        
RDW 2.5% Convertible Promissory Note [Member]          
Derivative [Line Items]          
Principal amount $ 103        
Conversion price per share $ 0.12        
Conversion trigger price per share        
Risk free rate 1.02%        
Volatility 184.00%        
Life of conversion feature (in years) 9 months 3 days