heightfield docs, tests, bugfixes