changed all routines inside FormJf to use  ModeArray instead of modelist