Added Lapack in linalg.h and a fixed a minor #elif.

Please note that there _should not be_ any other params apart from the vectors.