fix bugs in accuracy.gts() when returning in-sample accuracy