Change to Column wise Mat store