apod-sigma calculation added