Fixed an error in data-model (forgot a var keyword ...). And changed the tangent line to not touch the graph to prevent drawing over the graph and making it hard to get the tangent line event fired