Move xlim, ylim down in plotting code

Old versions of matplotlib weren't respecting the xlim, ylim
values.
Use standard angle distance formula instead of dot product

This uses a little bit less trigonometry.