J. van der Wal: Note on algorithm 21. Computing 17(3): 261-264 (1976)