The mechanics and mathematical modelling of wire rope