fix travis build

* fix the arithmetic used to link customers to consultants
* fix docs to satisfy code sniffer reqs