missing index added
bug in ts.subsref corrected
updated and renamed smooth approximation functions