Bandgap calculations and trends of organometal halide perovskites | Synapse