Made small changes and optimizations to Turret class.