Added linear regression functionality to the HTML mockup page