Direction Cosines: Definition, Properties, Extended Theory