Simulation of optic flow based flight control for a flapping wing micro aerial vehicle