Added directional functions and altitude adjustment.