modified the ecos interface to use kwargs.