Molecular dynamics of a bilayer membrane