Updated.

Changed matrix -> square