corrections to materials to include omega for sine and fast setup functions for source and materials