added changes to mark2
made a change to the calculation of powers of two
found a better way to calculate the powers of two
This is my final product...Still working on comments though