10/3/14 - added sigmoid function to entropy.cpp