Error out on invalid reg_ratio and also select sensible default.
Update README with benchmark code.
Add small description/license header to each file