cleanup
fix for NaN checks
cleanup for vertex light shader