I removed the whole logistic method, I will be using a faster implementation from `from sklearn.utils.extmath import logistic_sigmoid` instead