Update algebratypes.h

Added constructor useful for doing inverses