pub fn array_to_ints(arrays: &[Vec<u8>]) -> Result<Vec<u128>>
Convert most-significant-site-first binary rows to integer states.