added a simpler means of setting datum dimensionality