Corrected the routine rotate_bits that included a power
Added in testing.cpp the option to test the routines of rotate_bits inner parts