remove unnecessary code
style changes
remove Lambda from continuous_rv tests