Implemented stride for textures

Stride first