Added three new functions
Script to calculate sampling distributions