Added a function SqaureRef to CompMapCircle class

SquareRef takes an index of an element in the compressed array and
returns the index of the corresponding element in the square array.