Finished cleaning up TA Solution for hw2_Team1.m