code: public static WeightPixel_F32 pixel( WeightType type , boolean safe ) {
  
  		if( safe )
  			throw new IllegalArgumentException("Safe distributons not implemented yet");
  
  		switch( type ) {
  			case GAUSSIAN_SQ:
  				return new WeightPixelGaussian_F32();
  
  			case UNIFORM:
  				return new WeightPixelUniform_F32();
  		}
  
  		throw new IllegalArgumentException("Unknown type "+type);
  	}
docs: Creates a weight function for the provided distributions.
  
  @param type Which type of distribution should be used
  @param safe If true it will then check the input distance to see if it matches.
  @return WeightDistance_F32