Revert "[functions.interfaces] reimplement alpha and gamma computation"

This reverts commit 2d78956da68ab4c1268cb5f76bad72afb9517e71.
[functions.interfaces] add missing affine_part to alpha and gamma