rTPQuar function

Realized tri-power quarticity