Estimating mutual information using B-spline functions - an improved similarity measure for analysing gene expression data