improving amplitude detection and procession
applied few changes to amplitude calculations but big changes are about
to come
to run main analyser