Added solution for overdetermined matrix - DIRTY CODE!