fixed two bugs in make_shape

bug 1: ty was picked from wrong index
bug 2: translation was applied before rotation and scaling, which was
wrong ofc
simplified shape_goodness
use sum instead of mean in cost function
added differential evolution optimizer wrapper

optimize shape parameters to match mask
DE optimizer:
http://www.mathworks.com/matlabcentral/fileexchange/18593-differential-evolution