Add fix_pow and tests