Perform spelling correction with dimension names
Simplify code to match "Xel"