Optimization_Example: Use version 3 of Commons Math

Just noticed that compiling the Optimization_Example in Templates>Java> will fail (`package org.apache.commons.math does not exist` error). It seems that the file has not been updated to deal with changes in version 3 of commons-math (bundled with Fiji). This should fix it.