Implemented nearest neighbor / bilinear interpolation methods