added json call to wall/clutter loss, cleaned up todos, implemented body loss in cal controller