Control of an electromechanical hydrocephalus shunt--a new approach