Add double buffering to Physics sim