update HomeFE routines to output directly sparse matrices