Partial Redistribution Modeling of the ca II K Line