Expand loops to determine power of 10 in pyne.cpp

This unrolls the loops (and gets rid of using pow) but keeps the
bitshift assigns seperate so that the order is defined