Line, Circle, Rectangle & Shifts.

Added drawing primitives, Line, Rectangle, Circle, Filled Rectangle,
Filled Circle. Also added very fast Matrix shifting, templated for each
matrix layout to reduce code size as well as speed.