included POSITIVE_INTEGER_POWER macro in ngraph.h to speed processing