fixed minor bug in psytrans on preparation of training & testing sets.