Computational tools for structure refinement on NMX