Indexing bugfix on socp2prob
Merge pull request #38 from chinasaur/socp2prob/1

Indexing bugfix on socp2prob. one-based indexing.