change output of meanQ4C to row vector
small changes