An inverse methodology for the rheology of a power-law non-Newtonian fluid