added options for doing multiple values of k simultaneously