Principles of neurodynamics