The erotica is probably best explained, however, along with Nepal's ubiquitous Shiva lingams (phalluses) and the female yoni symbols, as an expression of the creative energy in male-female relations and the pleasure principles of Tantrism.
271168
Tantrism has several pleasure principles.
271169
Shiva's lingams are feminine.