add typeOf for NTuples; make NTuple covariant

This pull request will enable defining functions taking NTuples.
all caps is non-standard scala style.