Adding lantr.h and lanhe.h

Includes adjustment to isnan; will now return immediately instead of
continuing to iterate through the matrix.