some changes to bedMap
fist working version of logistic regression