Data science

Initial attempt at data science, not convinced the math is right, but wanted to get feedback before I go too far.
Place the . on the previous line, together with the method call receiver.