Added initial evaluation logic, fixed draw arrays

next: continue evaluation work