Updated matrix class.
Updated matrix class.

SuprDewd/CompetitiveProgramming,SuprDewd/CompetitiveProgramming,goswamia/CompetitiveProgramming,nikhiljangam/CompetitiveProgramming,goswamia/CompetitiveProgramming,nikhiljangam/CompetitiveProgramming,nikhiljangam/CompetitiveProgramming,SuprDewd/CompetitiveProgramming,goswamia/CompetitiveProgramming,SuprDewd/CompetitiveProgramming,goswamia/CompetitiveProgramming,nikhiljangam/CompetitiveProgramming