initial commit for a small functional library

It conly contains a closure function for now. But it might grow if
there is a need.
Iterator factory specLines doesnt do intenFunc yet
tabCopy is no longer global
Fixed error when cosTheta = 0

when cosTheta is zero then Phi can be anything, so I just have it return
0 for those trig functions
wrong name for a table, should be freq.
default value so indexing works for frequencies
changing how mid is calculated
a call to spectrum needed new parameter style
the histogram needs to be returned
wrote intenFunc
name change to speclines
return intenFunc in specLines iterator
The name of the table was updated to functional
wrote calculate
added a TODO for newSpec
whitespace adjustment
more meaningful error message
the local variable is min, not start
The condition was logically backwards