Updates MNIST parser to include fit procedure

Now also specify fit for dictionary: linreg/lasso/lars