Matrix Operations Using Numpy For Arrays