Refactored boss iteration function

Also improved boss' accuracy in 4th phase