Removed all warnings.
Implemented linear interpolation while drawing.