added type of sparsifying function to the parameter list in main.m