adi smw needs debug
solve lyap now with transpose flag. unit test for smw lyap