Functions for working on the mapping between host allocations and kernel params.
Printing parameters nicer.
Sort of maps allocated arrays to kernel params.
Mapping between hostalloc and kernel params bug fixed. IncParam didn't increment.