fixed a bug in MIRA
updated
MIRA implemented for online learning in CAT scenario