Fix some bugs. Need to have new version of module training- place agent and object in a more organized way, rather than randomly, to allow more efficient training.