major bugs fixed and reduntant code removed
make use of the modified normalisation api
update examples