matrix as vector bug in rma_FGM

rma_FMG calculated the fitness of new positions as if they were each
one-dimensional (i.e. same bug as fixed for estimate_FGM_moments in
commit 6ee780cf61f444f514d3c090a11325758904a073)