Made vertical guide lines an option.
Fixed distance calculation