Moved SparseMatrix creation code to Server Startup