Added error and warning messages

To warn of issues with density grid spacing