Numerical model of a neuron under mechanical loading