bugfix: Fixed a bad coordinate error in bilinear interoplation algorithm.