Simplified example for custom function
Removed errorneous word in README
Removed -Infinity