Fixed some bugs and added world periodic behavior
Added graphic representation of geometric shapes
Added some missing google closure comments
Added missing parameter