improve convertToLlama and tests
clean up
feature cost handling
clean up