Fixed bug in output.f90 - not outputting meanA correctly