Added function to get directory for scipy.linalg.