Minor fix: k-factor plotting script
Clean up k-factor script
k-factor script: also plot from workspace