Added camera heading vector function