reduced and cleaned up creation of objects
allowing variation of frequency and nib lattices