Fix up rounding math, add example matrices from book