Added cross entropy simple optimization