A Numerical Solution for Modelling Mooring Dynamics, Including Bending and Shearing Effects, Using a Geometrically Exact Beam Model