Dynamic task priority approach to avoid kinematic singularity for autonomous manipulatoin in underwater