Liquid argon time projection chamber calibration using cosmogenic muons, and measurement of neutrino induced charged kaon production in argon in the charged current mode (MicroBooNE experiment)