Fixed Shiftreg

The previous way was terrible code...