Fix bug in SparseLinear and added small test