added alignment stability for eigen types
removed unnecessary polynomial class and converted it to a root solving function. also fixed a small bug in the five point algorithm