Partially-averaged Navier Stokes Model for Turbulence: Implementation and Validation