Merge "Unified RenderScript logic between different calculators, and fixed some logic issues in MSSIM calculator"