Modules to calculate pseudo magnetic fields in graphene