Update solopt.m