Return right answer as matrix method was implemented