Initial Matrix solver by Slawomir Suchy