changed type to float in the dev branch now. All examples are working