Fixed mistake in return value of mle and lsq in cases where optim fails
Fixed bug in Metropolis rejection counting
Fixed a bug in the data structure produced by coef method (was a matrix of lists instead of a matrix). Minor changes to HB code and tests