Added more stuff in qLearning and machine learning util