used matlab function fminimax for solving convex optimization problem

Signed-off-by: Amit Shah <amit.shah@tum.de>