did a little benchmarking, fixed an arithmetic bug and started on cache integration