Fixed issue with getBinaryString helper method

Fixed lines -- was accidentally inverting bit order