Decoding of movement direction using optical imaging of motor cortex