Update td.join.R

Changed variable names to fix a bug when returning the td.data.frame.  Input variables are otable and odatabase and were used as otable in one place and oTable in another.  Changed all to oTable and oDatabase.