Jkernelmachines: limitin iteration number while training 
MarcALIZER : updates related to cosine similarity and error handling