Error: object 'sigma' not found