The National Physical Laboratory's data approximation subroutine library