added free function to aligned allocator, added destructor to camera