source: http://stackoverflow.com/questions/23324480/matrix-operations-in-c-using-blas-lapack-or-some-other-alternative
