Added bilinear interpolation, rotation and 360 degree (for now) correction