Sex assault caused frenzied murder: lawyer