BUG: ensure raising of invalid on bad complex powers

put inf - inf into a volatile variable so it is not optimized away by
compilers.
BUG: fix bad alignment asserts

if the arrays are smaller than a vector they don't need to be aligned.
Merge pull request #3726 from juliantaylor/dbg-fixes

Dbg fixes