The hydrodynamic stability of a ballast filled mattress in an offshore environment