fix some licenses (error due to license BSD cut'n'paste..)
Fix decomposition using SPENCER's one.