Added pfTcode_1dim function to output 1-dimentional tcode.

Use pfTcode when you want to output 2-dimentional tcode.