Updated file, improved activation function, requires gridfit.m script for ploting