add matrix ejb interface/impl
add matrix-function
update matrix function
update matrix module logic
add function selection drop-down list in matrix module