Changed hashfunction generation to include a space between v and l values. Without this there were ambiguous hashcodes.
Debugged the functions for linear and quadratic matrix elements. Now working on Bilinear.