Square matrix calculator for Android