Fixes to spatcontrol moran's functions.