Added Linalg routines for easier bundle packaging