fixed syntax errors from 2daxis and range, added a axis class for models