Slight modifications to pow() theta calculations