Update LastSquare.java