Added additional speed improvements to lanczos resizing