changed q()
added MAD and MAPE statistics