fix Optic.getGenMatrix for zero drive case