first working constrained sampler
major changes to condition values coming
reformed conditional values