Missing data matrix factorization addressing the structure from motion problem