Short run production and cost functions