behavioural training software. real-time module runnning on arduino, master control running on  matlab