Version: 1st July 2014, 05:31 (GMT+1); added shape transformation with matrix