Fix mode array option
Fix a bug found for the mode_array option and change the name of the variable from modearray to mode_array in order to match that used in bilby_pipe https://git.ligo.org/lscsoft/bilby_pipe/-/tree/add-mode-array
Edited by Cecilio Garcia-Quiros