Laspack-based program by A.V. Popov, adapted for Linux systems