Added basic arithmetic functionality for finite fields.