Added validate_encoded_points method for superficial checks of the encoding