Minor edits

Added comments to function.
Removed e function for now.