Fixed Java and C++ implementations of fasta to use iterators more efficiently.  Moved initializaiton functions out of performance loop.
Fixed double-usage in spectral norm.
Optimized java loop in spectral norm.  Better use of int vs. double ops.
Made C++ and Java PartialSums faster by changing some types to int.