bug fix, alpha equals zero quick return
some cleanup
removing unused variable