Approximate MaxEnt Inverse Optimal Control and Its Application for Mental Simulation of Human Interactions