Simulate vision

Functions to simulate vision in the fly