'Validates that the translation vector is a 2D vector.  This allows
either a "row" vector or a "column" vector where in the latter case the
resultant Numpy array has ``ndim=2`` but the shape is ``(1, 2)``.'

@translation.validator
def translation(self, value):

    if (not (((np.ndim(value) == 1) and (np.shape(value) == (2,))) or ((np.ndim(value) == 2) and (np.shape(value) == (1, 2))))):
        raise InputParameterError(u'Expected    translation    vector    to    be    a    2    element    row    or    column    vector    array')
