Division less buggy, still slow

Ok I need to put more thought into this. Or just look it up.