Removed some unnecessary extensions. Will add them as they are required.
Eta reductions, removed unnecessary parenthesis, some layout improvements, ... In general, improving readability.
More immediate simplifiactions.
linSpace greatly improved. Also, I have fixed it so the last element of the list actually coincides (approximately) with the supplied end argument.