Real-time brain computer interface using imaginary movements