Made utility functions for random, sigmoid and normal distribution
function