Changed take-nth to raise ValueError for (not (pos? n))