Fixed problem with stupid windows line endings and removed k = 0 code!