Added template to flag flatliners

Code to check flatliners in survey data.