Wrote more 1D functions. Still need to figure out certain tasks and do 2D functions.