The use of computational fluid dynamics to determine the dynamic stability of an autonomous underwater vehicle