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

No specific reason, as it was under core module i considered _core to be the correct declaration rather then _redux which has been defined separately below under redux module.
Is it correct or should i revert the change here ?