Deep Dive into the Matrix Data Structure