remove unused python function
use correct bounds in usage examples