Added a BitScanReverse function