square matrix lab added