Modified toy to choose objective and projection type by paramter, modified apgpot to log value of f