First principles studies of SnO at different structures