Rewrote so index is based of a list

Index is now a hard coded list. Rewrote connotation of date_list in
calc_values. Added debug print line. Renamed output_data function
parameters. Removed index range and replaced it with output_range on
input.

I'm an idiot for how large of a commit this is...
Syntax and Variable name errors

Fixed minor syntax and variable errors. Removed debug print statement.
Now writes output to file

Writes output to file named after script.
Performance output