rough function called changeBase, buggy

not sure why it won't render the new Line object created in changeBase
fixed switching bases problem