WIP: SAS factor representation working

names are wrong
WIP: implement correct names for contrasts
Add a function to retrieve expression's references
WIP: completes implementation of model with SAS contrasts

Debug messages to be removed
WIP: fix remaining problem and removes debug msg