reinstate the RandomMDP agent controller
code cleanup
remove useless getWidth method