Grid-based GA path planning with improved cost function for an over-actuated hover-capable AUV