Add linalg utils file