removed redundant operations in inv_sqrt, inv_square, pow