LineCalculator: Added Controllers and removed bug