Fixed Texture Problems

Missed out a step and placed a variable in the wrong place. Oops! Still
to Complete the additional exercises.