change syntax for instantiation of year dates
Currently, we can instantiate years as:
t = dates(1, [1990; 1990; 1978], [1; 1; 1])
but not as
t = dates(1, [1990; 1990; 1978])
In the case of years, the periods are irrelevant and so we should be able to declare a dates in the second syntax