Advances in electrodermal activity processing with applications for mental health : from heuristic methods to convex optimization.