corrected spelling of texture in some functions.