fixed input rutine in lfpspike_latency and expanded stimlogfix