Corrected RAO bug in 2d EMM code