Added function for uploading  3D vector to shader
Fixed error when setting stride for texture upload