added texture1D class