Improvements on fundamental and essential matrix