Added new sparse matrix class for Z values