Corrected zmp function declarations