Added ModInt example from configurations paper
fixed apWith2Param