Absolute value and cube functions