Added rounds function for rows
Fixed ghc warnings