Added to_cartesian() to triad.h

Task @T94 : Added triad<T>::to_cartesian() to the triad.h template.