added code for bias-variance experiment