Refactor [make_line](https://github.com/waltsims/k-wave-python/blob/9d5b4682139056fa232dafc8e2b3f891252492c0/kwave/utils/mapgen.py#L988). The function is too long and confusing and could be broken down into subfunctions and simplified.