Back ported resolution for issue #71 for znear == 0 bug into branch 0.9.4
Fixed test crash due to the normalization of a nan vector