add updated version of W&R replication
add generalized version of projection function
check in excel replication