three splits + plot function beginnings, standardized X in kpcr and kpclr, did some better organization of the code