generic accessor method for "zdim"
zdim(object)
object
object of class MassImage
numeric, number of mass channels / peaks