update relatedness / preprocess as well as evaluation

mainly fixing bugs and change the way to get Y vector a bit