added sl.io.csvwrite.m to replace rediculously slow csvwrite.m
started work on calculating spectrograms