added isstalled, isleftstalled and isrightstalled functions to matlab interface