added 'dimnames' argument to ML and FIML objective functions