added test cases for k (multi-element array, value greater than 2, non-array integer)
added test cases for k (multi-element array, value greater than 2, non-array integer)

convexopt/gpfit,convexopt/gpfit,convexopt/gpfit,hoburg/gpfit,hoburg/gpfit,hoburg/gpfit