Camera class debugged

Pan function still needs to be completed