BF: fixed bug in phase_pow_multi() that prevented inputs of arrays with more than two dimensions