Implemented new predict function with returnDFVal param instead of modifying existing ones