A zero scaled axis resulted in the matrix containing NAN values. Use `safe_divide` to avoid this. Ref !141654