Fixed WeightRounder crashing on nil input. Fixed Build issue witha  test.