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