fixed a bug normalizing XANES data with a fixed edge step