A molecular dynamics study of the TIP4P model of water