Define and Apply a Rectangular Local Coordinate System