Fixed error with stride when uploading texture and added function for uploading 3D vector to shader