- Added nearest and bilinear functions and tests