Hi chorner26,
I would start from the differential equation for a bending beam. Allows all parameters to be adjusted to your liking.
Keep in mind that a small difference in support relative elevation has a substantial impact.
I only have experience with the Eurocode, but your code will also give limitations and prescribe an approach for multi point supported beams, as the max stress is very sensitive to relative elevation and stiffness of support points.
Success