v1.0, AC sinewave algorithm
Final Version: RMS voltage calculation working