updated source files for multitask logreg