added cfHeading value and heading vs orientation diff calcs