Added function for retrieving attribute location
Added functions for vertex attributes