added SNOPT recording of basis function