allow user to define angle in initGrid
clean up code and add support for math coordinates instead of programmer coordinates (used by default)
add ability to display framebuffer on terimal, fix some bugs