Fixed small mistake in linalg.