Fix FGM notebook
Do not use LabelsFactory in Python for apply's output, the cast is already
handled by SWIG code in Machine.i