Added rotation using bilinear interpolation