added sigm.m and logisticTraining.m to tools