Buckingham Pi method. Learned this in Fluids class, writing it for fun / learning experience.