fixed screenOrientation to portait
Removed an old, unncessary calculation

Added code that removes outlier points that can be caused by accidentally touching the side of the screen while testing and any other accidental screen touches