Fixes bug in nm to angs conversion.