Remove some spurious debug prints
Change colwise to return a function (so it's nicer with ddply) and make sure it always returns a sequence.