Changes to activationcurve.m