Structure estimation apparatus