changes to lanczos