Further developed CompMacCircle

Added an array which stores the offsets of the first element in each
column.

Added a function CompOffset which takes a reference to an element in
a square grid and returns the index corresponding to that element in
the compressed array.