a square matrix micro-lib which is going to be used in EDN Algorithm