Clean up P-521 C implementation