Computation of Heading Direction from Optic Flow in Visual Cortex