fixed error with vstack coefficients and added readme examples to tests