added sylvester library for matrix calculations