we use linalg from scipy not numpy