More of these double to float cast problems.

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>
Make plugin classes usable in a script more easily.

Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>