All matrix modules compile now, need to make fixes in solvers and elsewhere