http://www.ciphersbyritter.com/JAVASCRP/NONLMEAS.HTM
http://www.sinleb.com/algorithms/binary_read.php