Analysis of single rock blocks for general failure modes under conservative and non-conservative forces