It might be confusing why matrix is constructed from scratch rather than using already calculated one.