Integer3Tuple: is now a template class (ThreeTuple<>) to handle double (and other types) as well.