set sample step to 1000000 itterations
Fixed variable scope problem
Added sample step parameter and fixed problem with accept rate printing
Updated with sample at last itteration
Still broken, need to examine more closely
cleaned up