Cleaned up main.c to skeleton new version
read_alsa_data now takes in a number of frames
Added a utility library for array conversions/etc.