Various bug fixes

Truly correct measurements, but possibly only at the 4096x4096 size.
Measurements were off by a constant ratio (somewhere around 111.12).
Dividing by that number gives us accurate measurements, but I'm not
fully satisfied with this. If we change the size, this might be
incorrect.