New bill would let defendants inspect algorithms used against them in court