Structure From Motion Problem