Fixed test and mathod, rewritten notes.