Fixed AMD bug
Apparently there is no sanctioned mod operator
Also you cannot leave a vertex attribute location blank, 0 in this case