added names to arrays used by find_global_minimum
added safe guard in find_global_minimum against asking for data from a null array