Create actionPotential.m