* Update copyright year to 2021
* more robust handling of min_height and max_height in get_kernel_height() * cleanup