Add function to create PyFloat numbers

Signed-off-by: Daniel Francis <francis@sugarlabs.org>