Transfer Learning for Motor Imagery based Brain Computer Interfaces