Correctly use number of counts in event bin in the cntmap method and propagate projection and coordinate parameters in sim function.