Commented out unneeded functionality, added comments to show calculation
operations
Added sine analyser context and initialisation.