added ugly hack to sizeTarget array
removed prints statements of bugfix
Merge branch 'bugfix_matt'