added get.params function for Kw and hc