Updated nlambda to nd (number of derivatives).  Also modified EL test package to
allow derivatives in the mass matrix.