First run on the sketch code.
Coding with the PoV matrix. Dont know whether current result is correct.