added origin and resultion to occupancyField class also fixed syntax error in odom