Fixed lines! Was due to ints instead of doubles!