Computer simulations of strongly interacting dipolar systems: performance of a truncated Ewald sum