Added full complex numbers and matrices compatibility