changed a couple clones to copies
removed square root
several minor optimizations to frequently executed lines
changing alpha depending on fps