80 char lim
Added sinusoid problem
Using arrays instead of matrices
Added confidence bounds