Added new methods for generating sparse basis for the subspace of the base parameters