started cython exp
don't compute similarities for different POS
changed to logistic loss and added weighting fns